﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TJDevHouse.Starcraft.AIModuleConnector
{
	public class ConnectorThread
	{
		public void StartRunning()
		{
			String[] s = { };

			Connector.Main(s);
		}

		public void RequestStop()
		{
			Connector p = Connector.Connection;

			try
			{
				p.ServerSocket.Stop();
				p.Reader.Close();

			}
			catch (Exception)
			{
				

			}
			Connector.Connection.RequestStop = true;
		}
	}
}
